package com.geostar.constructionland.attachment.entity.attachment;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@TableName(value = "oa_fj")
@ApiModel(description = "附件表")
@Data
public class AttachmentEntity {
    @ApiModelProperty("主键id")
    @TableId("id")
    private String id;
    @ApiModelProperty("附件id")
    @TableField("fjid")
    private String attachmentId;
    @ApiModelProperty("附件名称")
    @TableField("fjmc")
    private String attachmentName;
    @ApiModelProperty("附件大小")
    @TableField("fjdx")
    private Long attachmentSize;
    @ApiModelProperty("序号")
    @TableField("xh")
    private Integer sortNo;
    @ApiModelProperty("附件类型")
    @TableField("fjlx")
    private String attachmentType;
    @ApiModelProperty("附件扩展名")
    @TableField("fjkzm")
    private String attachmentExtension;
    @ApiModelProperty("上传人id")
    @TableField("scrid")
    private String uploadUserId;
    @ApiModelProperty("上传人名称")
    @TableField("scrmc")
    private String uploadUserName;
    @ApiModelProperty("上传时间")
    @TableField("sqsj")
    private Timestamp uploadTime;
    @ApiModelProperty("文件md5")
    @TableField("md5")
    private String attachmentMd5;
    @ApiModelProperty("附件信息")
    @TableField("fjxx")
    private String attachmentInfo;
    @ApiModelProperty("附件目录id")
    @TableField("fjmlid")
    private String attachmentDirId;
    @ApiModelProperty("业务id")
    @TableField("ywid")
    private String businessId;
    @ApiModelProperty("业务类型")
    @TableField("ywlx")
    private String businessType;
    @ApiModelProperty("备注")
    @TableField("bz")
    private String remark;
    @ApiModelProperty("租户编码")
    @TableField("zhbm")
    private String tenantCode;
    @ApiModelProperty("机构代码")
    @TableField("jgdm")
    private String orgCode;
    @ApiModelProperty("年份")
    @TableField("nf")
    private Integer year;
    @ApiModelProperty("活动定义id")
    @TableField("activitydefid")
    private String activityDefId;
    @ApiModelProperty("sourceid")
    @TableField("sourceid")
    private String sourceId;
    @ApiModelProperty("tablename")
    @TableField("tablename")
    private String tableName;
    @ApiModelProperty("删除标志")
    @TableField("scbz")
    private Integer isDel;
    @ApiModelProperty("是否经过ocr处理")
    @TableField("ocr")
    private Integer ocr;
    @ApiModelProperty("附件是否公开：0：不公开1：公开")
    @TableField("gk")
    private Integer isPublic;
    @ApiModelProperty("用途类型:ztz:转通知")
    @TableField("ytlx")
    private String useType;
    @ApiModelProperty("是否共享")
    @TableField("isshare")
    private String isShare;
}
